package com.jt;

public class Pet {

private static User user=new Cat();
private static User user1=new Dog();
    public static void main(String[] args) {
        user.hello();
        user1.hello();
    }
}
